require "smtp_tls"

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
  :address => "smtp.gmail.com",
  :port => 587,
  :domain => "mycompany.com",
  :user_name => "siyuan707",
  :password => "xihuanni",
  :authentication => :plain
}
Mail_Sender =  'siyuan707@gmail.com'

#ActionMailer::Base.default_charset = 'GBK'